/**
 * Copyright (C), 2019-2023,
 * FileName: LoginEntity
 * Author:   fanxquer
 * Date:     2023/7/6 13:27
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 邱富康           2023/7/6           1.0
 */
package com.hsteach.framework.feign.client.upload.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import feign.form.FormProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * 〈发送站内信〉
 *
 * @author Qiu Fukang
 * @create 2023/7/6
 * @since 1.0.0
 */
@Data
public class UploadEntity implements Serializable {

    @FormProperty("catalog")
    private String catalog = "A";


    @FormProperty("file")
    @JsonIgnore
    @JSONField(serialize = false, deserialize = false)
    private MultipartFile file;
}